package com.supermarket_project.mapper;
import com.supermarket_project.pojo.subject.Goodsvo;
import com.supermarket_project.pojo.subject.Staffvo;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;

@Repository
public interface XiaoshouMapper {
    //1查询出所有一级分类 parent_id=0
    List<Goodsvo> oneSubjectList();
    //2查询出所有二级分类 parent_id!=0
    List<Goodsvo> twoSubjectList();
    //3查询出条件员工
    List<Staffvo> getAllstaffInfo_m(int id, String year,String month);
    List<Goodsvo> finallselect(Integer categoryId,Integer fatherId,String year,String month);
}
